/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-11-02 13:55:23   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zx.cloud.model.BasicDomain;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * sys_dict-数据字典
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class Dict extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 字典编码
	 */
	@ApiModelProperty(value = "字典编码")
	 private String code;
	/**
	 * 字典值
	 */
	@ApiModelProperty(value = "字典值")
	 private String value;
	/**
	 * 名称
	 */
	@ApiModelProperty(value = "名称")
	 private String name;
	/**
	 * 父类Code
	 */
	@ApiModelProperty(value = "父类Code")
	 private String parentCode;
	/**
	 * 0:正常,1:删除,
	 */
	@ApiModelProperty(value = "0:正常,1:删除,")
	 private Integer status;
	/**
	 * 排序
	 */
	@ApiModelProperty(value = "排序")
	 private Long sort;
    
	private List<Dict> dictSubList = new ArrayList<Dict>();
	
	
	 
    public List<Dict> getDictSubList() {
		return dictSubList;
	}

	public void setDictSubList(List<Dict> dictSubList) {
		this.dictSubList = dictSubList;
	}

	public Dict(){
    
    }
    
    public String getCode() {
        return this.code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    public String getValue() {
        return this.value;
    }
    
    public void setValue(String value) {
        this.value = value;
    }
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    public String getParentCode() {
        return this.parentCode;
    }
    
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getSort() {
        return this.sort;
    }
    
    public void setSort(Long sort) {
        this.sort = sort;
    }
    
}
